Optimal. Leaf size=396 \[ \frac{3^{3/4} (A-4 C) \tan (c+d x) \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt{\frac{(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} \text{EllipticF}\left (\cos ^{-1}\left (\frac{\sqrt [3]{2}-\left (1-\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right ),\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{5 \sqrt [3]{2} a d (1-\sec (c+d x)) \sqrt{-\frac{\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} \sqrt [3]{a \sec (c+d x)+a}}+\frac{3 \sqrt{2} A \tan (c+d x) F_1\left (\frac{1}{6};\frac{1}{2},1;\frac{7}{6};\frac{1}{2} (\sec (c+d x)+1),\sec (c+d x)+1\right )}{a d \sqrt{1-\sec (c+d x)} \sqrt [3]{a \sec (c+d x)+a}}-\frac{3 (A+C) \tan (c+d x)}{5 d (a \sec (c+d x)+a)^{4/3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.45772, antiderivative size = 396, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 9, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {4053, 3924, 3779, 3778, 136, 3828, 3827, 63, 225} \[ \frac{3 \sqrt{2} A \tan (c+d x) F_1\left (\frac{1}{6};\frac{1}{2},1;\frac{7}{6};\frac{1}{2} (\sec (c+d x)+1),\sec (c+d x)+1\right )}{a d \sqrt{1-\sec (c+d x)} \sqrt [3]{a \sec (c+d x)+a}}-\frac{3 (A+C) \tan (c+d x)}{5 d (a \sec (c+d x)+a)^{4/3}}+\frac{3^{3/4} (A-4 C) \tan (c+d x) \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right ) \sqrt{\frac{(\sec (c+d x)+1)^{2/3}+\sqrt [3]{2} \sqrt [3]{\sec (c+d x)+1}+2^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} F\left (\cos ^{-1}\left (\frac{\sqrt [3]{2}-\left (1-\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}}{\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right )}{5 \sqrt [3]{2} a d (1-\sec (c+d x)) \sqrt{-\frac{\sqrt [3]{\sec (c+d x)+1} \left (\sqrt [3]{2}-\sqrt [3]{\sec (c+d x)+1}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{\sec (c+d x)+1}\right )^2}} \sqrt [3]{a \sec (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4053
Rule 3924
Rule 3779
Rule 3778
Rule 136
Rule 3828
Rule 3827
Rule 63
Rule 225
Rubi steps
\begin{align*} \int \frac{A+C \sec ^2(c+d x)}{(a+a \sec (c+d x))^{4/3}} \, dx &=-\frac{3 (A+C) \tan (c+d x)}{5 d (a+a \sec (c+d x))^{4/3}}-\frac{3 \int \frac{-\frac{5 a A}{3}+\frac{1}{3} a (A-4 C) \sec (c+d x)}{\sqrt [3]{a+a \sec (c+d x)}} \, dx}{5 a^2}\\ &=-\frac{3 (A+C) \tan (c+d x)}{5 d (a+a \sec (c+d x))^{4/3}}+\frac{A \int \frac{1}{\sqrt [3]{a+a \sec (c+d x)}} \, dx}{a}-\frac{(A-4 C) \int \frac{\sec (c+d x)}{\sqrt [3]{a+a \sec (c+d x)}} \, dx}{5 a}\\ &=-\frac{3 (A+C) \tan (c+d x)}{5 d (a+a \sec (c+d x))^{4/3}}+\frac{\left (A \sqrt [3]{1+\sec (c+d x)}\right ) \int \frac{1}{\sqrt [3]{1+\sec (c+d x)}} \, dx}{a \sqrt [3]{a+a \sec (c+d x)}}-\frac{\left ((A-4 C) \sqrt [3]{1+\sec (c+d x)}\right ) \int \frac{\sec (c+d x)}{\sqrt [3]{1+\sec (c+d x)}} \, dx}{5 a \sqrt [3]{a+a \sec (c+d x)}}\\ &=-\frac{3 (A+C) \tan (c+d x)}{5 d (a+a \sec (c+d x))^{4/3}}-\frac{(A \tan (c+d x)) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x} x (1+x)^{5/6}} \, dx,x,\sec (c+d x)\right )}{a d \sqrt{1-\sec (c+d x)} \sqrt [6]{1+\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac{((A-4 C) \tan (c+d x)) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x} (1+x)^{5/6}} \, dx,x,\sec (c+d x)\right )}{5 a d \sqrt{1-\sec (c+d x)} \sqrt [6]{1+\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}\\ &=-\frac{3 (A+C) \tan (c+d x)}{5 d (a+a \sec (c+d x))^{4/3}}+\frac{3 \sqrt{2} A F_1\left (\frac{1}{6};\frac{1}{2},1;\frac{7}{6};\frac{1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \tan (c+d x)}{a d \sqrt{1-\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac{(6 (A-4 C) \tan (c+d x)) \operatorname{Subst}\left (\int \frac{1}{\sqrt{2-x^6}} \, dx,x,\sqrt [6]{1+\sec (c+d x)}\right )}{5 a d \sqrt{1-\sec (c+d x)} \sqrt [6]{1+\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}\\ &=-\frac{3 (A+C) \tan (c+d x)}{5 d (a+a \sec (c+d x))^{4/3}}+\frac{3 \sqrt{2} A F_1\left (\frac{1}{6};\frac{1}{2},1;\frac{7}{6};\frac{1}{2} (1+\sec (c+d x)),1+\sec (c+d x)\right ) \tan (c+d x)}{a d \sqrt{1-\sec (c+d x)} \sqrt [3]{a+a \sec (c+d x)}}+\frac{3^{3/4} (A-4 C) F\left (\cos ^{-1}\left (\frac{\sqrt [3]{2}-\left (1-\sqrt{3}\right ) \sqrt [3]{1+\sec (c+d x)}}{\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{1+\sec (c+d x)}}\right )|\frac{1}{4} \left (2+\sqrt{3}\right )\right ) \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right ) \sqrt{\frac{2^{2/3}+\sqrt [3]{2} \sqrt [3]{1+\sec (c+d x)}+(1+\sec (c+d x))^{2/3}}{\left (\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}} \tan (c+d x)}{5 \sqrt [3]{2} a d (1-\sec (c+d x)) \sqrt [3]{a+a \sec (c+d x)} \sqrt{-\frac{\sqrt [3]{1+\sec (c+d x)} \left (\sqrt [3]{2}-\sqrt [3]{1+\sec (c+d x)}\right )}{\left (\sqrt [3]{2}-\left (1+\sqrt{3}\right ) \sqrt [3]{1+\sec (c+d x)}\right )^2}}}\\ \end{align*}
Mathematica [F] time = 3.13432, size = 0, normalized size = 0. \[ \int \frac{A+C \sec ^2(c+d x)}{(a+a \sec (c+d x))^{4/3}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.161, size = 0, normalized size = 0. \begin{align*} \int{(A+C \left ( \sec \left ( dx+c \right ) \right ) ^{2}) \left ( a+a\sec \left ( dx+c \right ) \right ) ^{-{\frac{4}{3}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C \sec \left (d x + c\right )^{2} + A}{{\left (a \sec \left (d x + c\right ) + a\right )}^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + C \sec ^{2}{\left (c + d x \right )}}{\left (a \left (\sec{\left (c + d x \right )} + 1\right )\right )^{\frac{4}{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C \sec \left (d x + c\right )^{2} + A}{{\left (a \sec \left (d x + c\right ) + a\right )}^{\frac{4}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]